home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / pc_board / wgmcnf16.zip / WGM-CNFN.DOC < prev    next >
Text File  |  1992-03-03  |  13KB  |  327 lines

  1.  
  2.                               WGM-CNFN v.1.6
  3.  
  4.                        Conference Menu (CNFN) Builder
  5.                           for PCBoard(tm) v.14.5
  6.  
  7.                          written by Wayne G. Maas
  8.  
  9.  
  10.     Introduction
  11.     ────────────
  12.  
  13.     This program was written because I needed an easy way to re-create my
  14.     CNFN file after adding/moving/deleting conferences on my system.  I did
  15.     not want to spend time updating it when I knew there could be a way of
  16.     having it done for me.
  17.  
  18.     I looked into several other utilities that did what I wanted but none
  19.     of them created an end result that I was happy with.  So after coming
  20.     up with nothing, I wrote this small utility.
  21.  
  22.     There is only one thing that is needed by you, the sysop, to do before
  23.     running this utility and that is to modify the configuration file that
  24.     came with this utility.  After editing the file, you only need to run
  25.     this utility any time you modify your conferences.
  26.  
  27.  
  28.     Configuration
  29.     ─────────────
  30.  
  31.     To run WGM-CNFN correctly, you will need to modify the configuration
  32.     file that came with the program.  The file is the one with the ".CFG"
  33.     extension.  The name of the configuration file is completely up to you.
  34.     The items contained in the text file will be described below.
  35.  
  36.     * Please note that most of the configuration keywords have changed
  37.       since version 1.4.
  38.  
  39.  
  40.     BBSNAME=WGM Computer Consulting BBS
  41.  
  42.       This keyword is the name of your BBS System as you want it to appear
  43.       at the top of the CNFN file.
  44.  
  45.  
  46.     PCBDAT=C:\PCB\PCBOARD.DAT
  47.  
  48.       This keyword is the location and name of PCBoard's PCBOARD.DAT file.
  49.       This option can be up to 65 characters and can include an optional
  50.       drive and/or path.
  51.  
  52.  
  53.     CNFN_FNAME=C:\PCB\GEN\CNFN
  54.  
  55.       This keyword is the name of the PCBoard CNFN file that WGM-CNFN will
  56.       create. This filename can be up to 65 characters and can include an
  57.       optional drive and/or path.  If you are using the MAXSEC= option, you
  58.       can create security specific CNFN files by indicating the appropriate
  59.       name here.
  60.  
  61.  
  62.     CNFN_SORT=1
  63.  
  64.       This keyword is the sort order you want to use when sorting the
  65.       conferences. There are currently 2 valid options and they are:
  66.  
  67.       1 = This will sort the conferences by the conference number.
  68.       2 = This will sort the conferences by the conference name.
  69.  
  70.     CNFN_LIST=1
  71.  
  72.       This keyword is the method to use when writing the conference
  73.       information to the CNFN file. There are currently 2 valid options and
  74.       they are:
  75.  
  76.       1 = This will write each conference entry to the CNFN with the
  77.           conference number before the conference name.
  78.  
  79.       2 = This will write each conference entry to the CNFN with the
  80.           conference name before the conference number.
  81.  
  82.  
  83.     CNFN_ECHO=E;@X0F
  84.  
  85.       This keyword allows you to change the default character and color of
  86.       the flag that will be used when a conference is echoed.  The format
  87.       of this line is the flag character followed by a ; then the PCBoard
  88.       @X.. color code to use.  If this entry is left out or commented out
  89.       and a conference is echoed, a default character of 'E' will be used.
  90.  
  91.  
  92.     CNFN_PRIVATE=P;@X0E
  93.  
  94.       This keyword allows you to change the default character and color of
  95.       the flag that will be used when a conference is private.  The format
  96.       of this line is the flag character followed by a ; then the PCBoard
  97.       @X.. color code to use.  If this entry is left out or commented out
  98.       and a conference is echoed, a default character of 'P' will be used.
  99.  
  100.  
  101.     CNFN_FILES=*;@X0D
  102.  
  103.       This keyword allows you to change the default character and color of
  104.       the flag that will be used when a conference contains additional file
  105.       directories.  The format of this line is the flag character followed
  106.       by a ; then the PCBoard @X.. color code to use.  If this entry is
  107.       left out or commented out and a conference is echoed, a default
  108.       character of '*' will be used.
  109.  
  110.  
  111.     CNFN_MAXSEC=0
  112.  
  113.       This keyword will determine which conferences will be included in the
  114.       CNFN file. Setting this value to anything other then a 0 will tell
  115.       WGM-CNFN to look at the "Required Security Level" in each conference
  116.       and include only those that are less then or equal to this value.
  117.       Leave this value to 0 if you want to include all conferences.
  118.  
  119.  
  120.     The next six keywords are necessary if you wish to display the CNFN
  121.     file in color. To color your file, you will need to be familiar with
  122.     the PCBoard "@X.." color codes. If you do not wish to use color, either
  123.     comment the lines out by placing a ; in front of the line or just leave
  124.     these options blank.
  125.  
  126.     CNFN_FRAME=@X1A
  127.  
  128.       This keyword will contain the color to use for the box characters
  129.       used in creating the CNFN file.
  130.  
  131.     CNFN_BBSNAME=@X1F
  132.  
  133.       This keyword will contain the color to use for the BBS name specified
  134.       in the BBSNAME= keyword.
  135.  
  136.     CNFN_TEXT=@X1F
  137.  
  138.       This keyword will contain the color to use for other text in the
  139.       header and footer of the CNFN file.
  140.  
  141.     CNFN_NAME=@X0E
  142.  
  143.       This keyword will contain the color to use for the conference names
  144.       used in creating the CNFN file.
  145.  
  146.     CNFN_NUMBER=@X0C
  147.  
  148.       This keyword will contain the color to use for the conference numbers
  149.       used in creating the CNFN file.
  150.  
  151.     CNFN_BRACKET=@X0B
  152.  
  153.       This keyword will contain the color to use for the brackets that
  154.       surround the conference flag characters used in creating the CNFN
  155.       file.
  156.  
  157.  
  158.     CNFN_NETKEY=LEGEND.TXT
  159.  
  160.       This keyword is the name of the text file that WGM-CNFN will insert
  161.       into the top of the CNFN file.  WGM-CNFN will calculate the number of
  162.       lines contained in the text file and adjust the screen accordingly.
  163.       This file can be as small or large as you want.
  164.  
  165.  
  166.     CNFN_NET=R;@X0D;1-100
  167.  
  168.       This keyword is used to indicate that a particular conference belongs
  169.       to a specific message network. If you do not specify any networks,
  170.       WGM-CNFN will default the echo flag for all echoed conferences to 'E'
  171.       otherwise the echo flag will indicate the letter of the network.
  172.  
  173.       This entry consists of 3 parts.  The first is the character you want
  174.       to use as the conference echo flag.  The second part is the PCBoard
  175.       @X.. color code to use in the conference flag.  The last part is used
  176.       to indicate what conferences to use this echo flag for.  The
  177.       conferences are entered individually seperated by a comma or a range
  178.       indicated with a hypen. An example would be 0,1,2,3,4,5 or 0,2-5.
  179.  
  180.       When setting up network names, you can specify up to 255 networks.
  181.  
  182.  
  183.     Running WGM-CNFN
  184.     ────────────────
  185.  
  186.     After you have created the configuration file, you are know ready to
  187.     run the utility. As a precaution, WGM-CNFN will backup the original
  188.     CNFN file prior to creating the new one.
  189.  
  190.     To execute the utility, at the dos prompt, enter:
  191.  
  192.             WGM-CNFN
  193.  
  194.     If you have used a filename other than WGM-CNFN.CFG then you will need
  195.     to use the command line option (/c) to tell WGM-CNFN the filename you
  196.     want to use.  For example, you create a configuration file to create a
  197.     CNFN screen for a security level of 60 and the filename is CNFN60.CFG.
  198.     You would indicate this filename by executing WGM-CNFN as follows:
  199.  
  200.             WGM-CNFN /cCNFN60.CFG
  201.  
  202.  
  203.     That's all there is to it.
  204.  
  205.     I have included some sample files that I have created using WGM-CNFN.
  206.     They should help you decide if you want to run this utility or not.
  207.  
  208.  
  209.     Security Specific CNFN files
  210.     ────────────────────────────
  211.  
  212.     To create security specific CNFN files, you need to indicate a security
  213.     level in the CNFN_MAXSEC= keyword in the configuration file. If you
  214.     specify a value greater then 0, WGM-CNFN will check each "Required
  215.     Security Level" of each conference before including it in the CNFN
  216.     file. With this option you can include only the conferences that you
  217.     want each level of users to see.
  218.  
  219.     Example:
  220.     ────────
  221.  
  222.     To create a security specific CNFN file for users of a security level
  223.     of 60 do the following:
  224.  
  225.       1) Specify in the CNFN_FILE= keyword the filename of this specific
  226.          level. Enter, CNFN_FILE=C:\PCB\GEN\CNFN60 (or what ever your
  227.          filename is).
  228.  
  229.       2) In the CNFN_MAXSEC= keyword, specify the value of 60 by entering
  230.          CNFN_MAXSEC=60.
  231.  
  232.     When you run WGM-CNFN including these two settings, a CNFN60 file will
  233.     be created and will only include the conferences that are a level 60 or
  234.     less.
  235.  
  236.  
  237.     Registration
  238.     ────────────
  239.  
  240.     This program is being released under the concept of "Freeware".  That
  241.     is, if you like the program, you DON'T need to register it.  You can
  242.     use it as long as you wish without feeling guilty.  However, if you
  243.     feel you want to contribute something to future programming efforts, by
  244.     all means I'll take what ever contributions I can get.  The only thing
  245.     I do want is for you to let me know if you like it or dislike it in
  246.     anyway. If anything goes wrong at anytime or if you have a way to make
  247.     the program better, please let me know.
  248.  
  249.  
  250.     Technical Support
  251.     ─────────────────
  252.  
  253.     This utility as with any other utilities I release will be supported on
  254.     my BBS, WGM Computer Consulting BBS. The number is (203) 523-1987 using
  255.     a US Robotics HST Dual Standard modem.
  256.  
  257.     For those sysops who are members of the RIME Network, I am the
  258.     conference host of the WGM Software conference and the number is #184.
  259.  
  260.  
  261. History
  262. ───────
  263. 03-03-93  ■ Released verison 1.6
  264.             ∙ This release fixes the pressing enter twice problem that
  265.               sysops have when viewing the CNFN file locally.
  266.             ∙ Fixed the FILE FLAG being incorrectly displayed if the
  267.               DIR.LST was left blank.
  268.  
  269. 02-28-92  ■ Released version 1.5.
  270.             ∙ Jeez, didn't realize the last release was in July '91.
  271.               Where does the time go?!
  272.             ∙ Completely rewrote the utility using Turbo Pascal 6.0.
  273.             ∙ Changed most of the keywords used in the configuration file.
  274.               Please see the configuration file for the items that have
  275.               changed.
  276.             ∙ Added the ability to indicate up to 255 message networks.
  277.             ∙ Added the ability to change the default flag characters and
  278.               colors.
  279.             ∙ WGM-CNFN no longer creates the legend key line in the CNFN
  280.               header.  You tell WGM-CNFN what file to insert into the CNFN
  281.               file.  It is up to you to create the key.
  282.             ∙ Also changed the way the number of rows and columns are
  283.               calculated.  If you do not have any message networks defined
  284.               and comment out the CNFN_ECHO, CNFN_PRIVATE and CNFN_FILES
  285.               the program will create a 4 column CNFN using just the names.
  286.             ∙ Utility no longer uses a .DBF and .FDX files. You can delete
  287.               then from your directory.
  288.  
  289. 07-27-91  ■ Released version 1.4.
  290.             ∙ Fixed bug that displayed garbage in the CNFN file if you were
  291.               using the MAXSEC= option with a value greater than 0 and the
  292.               conferences to display were less than 36.
  293.             ∙ Added a new color option that will allow you to change the color
  294.               of the brackets that surround the conference flags.
  295.  
  296.           ■ This should be the last update for this utility unless a major bug
  297.             develops. The next release will contain new features.
  298.  
  299. 07-25-91  ■ Released version 1.3.
  300.            ∙ Fixed bug that distorted display when a conference didn't have
  301.              any files, wasn't an echoed conference and wan't flagged as a
  302.              private conference.  This has been fixed.
  303.            ∙ A major bug was found in the file read routine that I was using
  304.              to read the PCBOARD.DAT file. If an ascii character with a value
  305.              greater than 127 was encountered, it was treated it as a carriage
  306.              return and screwed up my line counter that determined the
  307.              variables needed for the utility.  This has been taken care of.
  308.  
  309. 07-23-91 ■ Released version 1.2.
  310.            ∙ Fixed bug in logic when creating the CNAMES.DBF datafile.
  311.              This now looks at the "Max # Confs" set in PCBSetup.
  312.            ∙ Added new config file option, MAXSEC=.  WGM-CNFN can now
  313.              create security specific CNFN files.  Thanks Randy.
  314.            ∙ Added two fields in the CNAMES.DBF datafile that will help
  315.              in yet another utility I thought of.
  316.  
  317. 07-20-91 ■ Released version 1.1.
  318.            ∙ Program was completely rewritten using FORCE.
  319.            ∙ Added SORT and LIST options to control the way conferences
  320.              were displayed.
  321.            ∙ First utility to use a common datafile that all utilties
  322.              released by myself will use (or try to).
  323.  
  324. 04-09-91 ■ Released version 1.0.
  325.            ∙ Program written in Turbo Pascal 6.0.
  326.  
  327.